import React from 'react'
import {Suspense} from "react"
import {useRoutes} from "react-router-dom"
import routerconfig from '../router'
function App() {
  return (
    <div>
        <Suspense fallback={<div>...laoding</div>}>

            {
                useRoutes(routerconfig)
            }

        </Suspense>
    </div>
  )
}

export default App